//规则cost_76/77，成本是否覆盖相接
function checkcostdateoverlap(LIST) {
    for (var i = 0; i < LIST.length; i++) {
        var I1 = new Date(LIST[i].NEW_COST_EFF_DATE);
        var I2 = new Date(LIST[i].NEW_COST_EXP_DATE);
        for (var j = i + 1; j < LIST.length; j++) {
            var J1 = new Date(LIST[j].NEW_COST_EFF_DATE);
            var J2 = new Date(LIST[j].NEW_COST_EXP_DATE);
            if (LIST[i].ID == LIST[j].ID && LIST[i].ITEM_NBR == LIST[j].ITEM_NBR) {
                if(betweenDay(I1, J1) == 0 && betweenDay(I2, J2) == 0){
                    return true;
                }
            }
        }
    }
    return false;
};
